﻿using Abp.Domain.Entities;
using DualControl.Common;
using DualControl.ControlMeasures;
using DualControl.HazardSources;
using DualControl.RiskPoints;
using System;
using System.Collections.Generic;
using System.Text;

namespace DualControl.CycleCheckDetails
{
    public class CycleCheckDetail : Entity, IMustHaveTenant
    {

        //风险点
        public int RiskPointId { get; set; }

        public RiskPoint RiskPoint { get; set; }

        //风险源
        public int HazardSourceId { get; set; }
        public HazardSource HazardSource { get; set; }
        
      
        //隐患级别
        public RiskLevel RiskLevel { get; set; }

        //排查内容
        public int ControlMeasureId {get;set;}
        public ControlMeasure ControlMeasure { get; set; }

        //隐患描述
        public string Desc { get; set; }

        //整改期限
        public int Term { get; set; }

        //隐患图片,可以提交多张图片,图片名用“，”隔开
        public string Imgs { get; set; }
        
        public int TenantId { get; set; }
    }
}
